package com.letoo.dragon.dataaccess.domain.dbo;

/**
 *
 * 系统技术相关的数值配置表.启动的时候缓存
 * mapper table : tech_value
 *
 * @author dengjie
 *
 */
public class SystemTechValueDO extends BaseDO {

    /**
     * 
     */
    private static final long serialVersionUID = 7457684422531949995L;
    /**
     * 记录类型
     */
    private java.lang.String recordType;
    /**
     * 标识
     */
    private java.lang.String identifier;
    /**
     * 值
     */
    private java.lang.String value;
    /**
     * 描述
     */
    private java.lang.String description;
    /**
     * 系统创建
     */
    private Boolean isSystemCreate;

    private Boolean isActive;

    /**
     * Get 记录类型
     */
    public java.lang.String getRecordType() {
        return this.recordType;
    }

    /**
     * Set 记录类型
     */
    public void setRecordType(java.lang.String recordType) {
        this.recordType = recordType;
    }

    /**
     * Get 标识
     */
    public java.lang.String getIdentifier() {
        return this.identifier;
    }

    /**
     * Set 标识
     */
    public void setIdentifier(java.lang.String identifier) {
        this.identifier = identifier;
    }

    /**
     * Get 值
     */
    public java.lang.String getValue() {
        return this.value;
    }

    /**
     * Set 值
     */
    public void setValue(java.lang.String value) {
        this.value = value;
    }

    /**
     * Get 描述
     */
    public java.lang.String getDescription() {
        return this.description;
    }

    /**
     * Set 描述
     */
    public void setDescription(java.lang.String description) {
        this.description = description;
    }

    /**
     * Get 系统创建
     */
    public Boolean getIsSystemCreate() {
        return this.isSystemCreate;
    }

    /**
     * Set 系统创建
     */
    public void setIsSystemCreate(Boolean isSystemCreate) {
        this.isSystemCreate = isSystemCreate;
    }

    public String getIsActiveName() {
        if (this.isActive) {
            return "是";
        } else {
            return "否";
        }
    }

    public Boolean getIsActive() {
        return isActive;
    }

    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    public String toString() {
        return new StringBuffer().append("TechValue{").append("id='").append(getId()).append("'")
                .append(",recordType='").append(getRecordType()).append("'").append(",identifier='")
                .append(getIdentifier()).append("'").append(",value='").append(getValue()).append("'")
                .append(",description='").append(getDescription()).append("'").append(",isSystemCreate='")
                .append(getIsSystemCreate()).append("'").append(",isActive='").append(getIsActiveName()).append("'")
                .append(",createUser='").append(getCreateUser()).append("'").append(",createTime='")
                .append(getCreateTime()).append("'").append(",updateUser='").append(getUpdateUser()).append("'")
                .append(",updateTime='").append(getUpdateTime()).append("'").append("}").toString();
    }
}
